package cn.edu.zafu.bigdata.Wym;

public class Wym_ResizableCircle implements Wym_Movable, Wym_Resizable{

    double radius;

    public Wym_ResizableCircle(double radius){
        this.radius=radius;
    }

    @Override
    public void move() {
        System.out.println("The circle is moving");
    }

    @Override
    public void stop() {
        System.out.println("The circle has stopped");
    }

    @Override
    public void resize(double factor) {
        radius *= factor;
        System.out.println("The circle's radius after resizing:"+radius);
    }
}
